package com.burial.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单信息表
 * </p>
 *
 * @author burial
 * @since 2024-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
      @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    /**
     * 供应商ID
     */
    private Integer supplierId;

    /**
     * 采购者ID
     */
    private Integer purchaseId;

    /**
     * 订单状态：-1-删除，0-未审核，1-通过，2-完成
     */
    private Integer state;


}
